Building A Real Estate Financial Model From First Principles